chore: git fixes - removing beta tag#39733
Conversation
WalkthroughThe changes refactor Git-related message handling across multiple components. In the CE constants file, a static Git import title is replaced with a function that accepts a beta flag, and an unused Git connection constant is removed. In the Git module, a new Changes
Sequence Diagram(s)sequenceDiagram
participant Modal as ImportModal
participant Hook as useGitModEnabled
participant Message as createMessage
Modal->>Hook: Call useGitModEnabled()
Hook-->>Modal: Return isGitModEnabled
Modal->>Message: Call createMessage(..., !isGitModEnabled)
Message-->>Modal: Return Git import title
sequenceDiagram
participant User
participant Button as ConnectButton
participant Msg as QUICK_ACTIONS
User->>Button: Hover/Click
Button->>Msg: Retrieve tooltip and button text
Msg-->>Button: Return corresponding message
Button->>User: Display updated message
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (4)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
## Description - Removes beta tag for connect button - Removes beta tag from the "Import via Git" card - Removes beta flags only when `release_git_modularisation_enabled` is false Fixes appsmithorg#30110 ## Automation /ok-to-test tags="@tag.Git" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13855553055> > Commit: 166d347 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13855553055&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Git` > Spec: > <hr>Fri, 14 Mar 2025 12:18:24 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - The “Import from Git repository” messaging now adapts dynamically to indicate whether the feature is in beta. - New quick action messages introduced for Git connection options. - The Git Import modal title now adjusts based on the current integration status. - **Refactor** - Consolidated Git-related message handling for a more streamlined user interface. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
release_git_modularisation_enabledis falseFixes #30110
Automation
/ok-to-test tags="@tag.Git"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13855553055
Commit: 166d347
Cypress dashboard.
Tags:
@tag.GitSpec:
Fri, 14 Mar 2025 12:18:24 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
New Features
Refactor